#!/bin/bash

source config.mosquitto

if [ "$USE_MOSQUITTO" != "1" ]; then
    exit
fi

SCRIPT_DIR=$(cd `dirname $0` && pwd)
cd $SCRIPT_DIR

mkdir -p ../../build/yi-hack/bin/ || exit 1
mkdir -p ../../build/yi-hack/lib/ || exit 1

rsync -av ./_install/* ../../build/yi-hack/ || exit 1
